func go/types.hasNil
7 uses
go/types (current package)
expr.go#L682: if !hasNil(target) {
expr.go#L773: if !hasNil(typ) {
expr.go#L1093: if x.isNil() && !hasNil(y.typ) {
expr.go#L1096: if y.isNil() && !hasNil(x.typ) {
predicates.go#L153: func hasNil(t Type) bool {
predicates.go#L161: return u != nil && hasNil(u)
stmt.go#L595: if x.mode != invalid && !Comparable(x.typ) && !hasNil(x.typ) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)